//#define RECORDER
//#define TRAINER
#define TRAINNIG_PARTNER



using System;
using System.Collections.Generic;
using System.Windows.Forms;
using BodySoundSimulator.CommonElements;
using BodySoundSimulator.AbsoluteMapData;
using NAudio;
using BodySoundSimulator.Training;

namespace BodySoundSimulator
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
#if RECORDER
            Application.Run(new mainframe(ApplicationMode.Recording));
#elif TRAINER
            Application.Run(new mainframe(ApplicationMode.Practicing));
#elif TRAINNIG_PARTNER
			Application.Run(new TrainerDialog());
#else
			StarterForm startUp = new StarterForm();
			if (startUp.ShowDialog() == DialogResult.OK)
			{
				if (startUp.Mode != ApplicationMode.None)
				{
					Application.Run(new mainframe(startUp.Mode));
				}
			}
#endif
		}
    }
}